package com.bianhua.entity;

import com.bianhua.utils.Entity;
import org.hibernate.validator.constraints.Length;
import java.util.Date;



public class Train extends Entity {


	private Integer id;
	private Date startDate;
	private Date endDate;
	@Length(max = 100)
	private String company;
	@Length(max = 100)
	private String course;
	private Integer resumeId;
	private Resume resume;

	public Resume getResume() {
		return resume;
	}

	private Integer studentId;

	public Integer getStudentId() {
		return studentId;
	}

	public void setStudentId(Integer studentId) {
		this.studentId = studentId;
	}

	public void setResume(Resume resume) {
		this.resume = resume;
	}

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getCourse() {
		return course;
	}
	public void setCourse(String course) {
		this.course = course;
	}
	public Integer getResumeId() {
		return resumeId;
	}
	public void setResumeId(Integer resumeId) {
		this.resumeId = resumeId;
	}
}
